projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783460b
)
(pcomplete-read-event): One single definition, and not a defsubst.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 8 Apr 2007 13:47:33 +0000
(13:47 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 8 Apr 2007 13:47:33 +0000
(13:47 +0000)
lisp/pcomplete.el
patch
|
blob
|
history
diff --git
a/lisp/pcomplete.el
b/lisp/pcomplete.el
index deeda45cf194c50192a4fb8c0ee5a290c8a4db68..c1da9fb9132cfc03596710a134dd4215d5f9d2e9 100644
(file)
--- a/
lisp/pcomplete.el
+++ b/
lisp/pcomplete.el
@@
-946,10
+946,9
@@
generate the completions list. This means that the hook
(unless (fboundp 'event-matches-key-specifier-p)
(defalias 'event-matches-key-specifier-p 'eq))
-(if (fboundp 'read-event)
- (defsubst pcomplete-read-event (&optional prompt)
- (read-event prompt))
- (defsubst pcomplete-read-event (&optional prompt)
+(defun pcomplete-read-event (&optional prompt)
+ (if (fboundp 'read-event)
+ (read-event prompt)
(aref (read-key-sequence prompt) 0)))
(unless (fboundp 'event-basic-type)